Skip to main content link. Accesskey S
  • Help
  • HCL Logo
  • HCL Lotus Expeditor wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL forums and blogs
  • Home
  • Product Documentation
  • Community Articles
Search
Community Articles > OpenSpan Windows Container for IBM Lotus > Add Menu Items - Windows Tab Context Menu Command
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

Diagnostics - Log Categories

The following table lists the log categories that appear in the Diagnostics Configuration window.  These settings work for all logging messages output through the File Publisher. Category Description All Categories All logged categories. Adapters Logs general adapter information (for example, ...

OpenSpan Scripting Container Overview

The OpenSpan Scripting Container (OSC) is used to create scripts (written in JavaScript) that can be executed using wires in a composite application.  Additionally, each script has the ability to directly interact with any OpenSpan Windows Container, using Property Broker properties, or native ...

The OpenSpan Script Assistant

The Script Assistant window, opened by clicking the question mark button on the OpenSpan Scripting Container toolbar, can help you to create syntactically correct code by copying and pasting properties and methods from the Script Assistant directly into the scripting editor. The Script Assistant ...

Using the Log Viewer to Find and View SuperTrace Log Files

Overview SuperTrace ® collects and logs diagnostic messages for each process thread active when running an OpenSpan Windows Container. Diagnostic messages are logged to a series of files with the extension .OpenSpanLOG. When Lotus Expeditor is shut down, those files are consolidated into the file ...

Match Rules Overview

,Every time an application runs a new user interface is rendered by the underlying program. To users, the interface appears the same because certain characteristics, such as the type and position of application user interface elements (for example, labels, buttons, drop-down lists), remain the ...
Community articleAdd Menu Items - Windows Tab Context Menu Command
Added by ~Andy Elhipitexikle | Edited by ~Andy Elhipitexikle on January 28, 2010 | Version 11
  • Actions Show Menu▼
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: OpenSpan Windows Container

You can include controls for Windows application menu items in OpenSpan Window Container projects. Menus are not interrogated directly instead you will use the Add Menu Items function available from the Windows tab or Object Explorer when the application is being interrogated

1. Open the Interrogation tab and click Start Interrogation.

2. In the Object Explorer, right-click the form containing the menu you want to add and select Add Menu Items from the context menu.

 
</strong>Add Menu Items Context Menu Command<strong>

3.The Add Menu Items dialog opens listing a check box for each target application menu bar option.Select the check boxes (i.e., check blank check boxes) for the menu options you want to add and use in your project.

4. Clear the checkboxes for the menu options you want to remove from your project. As you check and clear menu option check boxes the Object Explorer updates dynamically by adding and removing menu options.

Adding Context Menu Items

Context menu items are actions displayed to the user when he/she right-clicks on something. Alternatively referred to as local, shortcut or right-click menu items, they can be interrogated and included in OpenSpan projects:

1. Start Interrogation of the target application.

2. Interrogate the target application control/object (e.g., list box, data grid) associated with the context menu you want to include in your project.

3. Without stopping interrogation of the target application, change focus to the OpenSpan Object Explorer.

4. In the Object Explorer, right-click the target application window object and select Add Context Menu Items from the Context menu, or, from the Windows tab, highlight the target, right-click and select Add Context Menu Items.

5. Change focus back to the target application, and right-click or otherwise cause the context menu to show in the target application.

6. Instead of the context menu opening the Add Context Menu Items dialog opens. The only control in the dialog is a list box that defaults blank and will populate when you right-click in the target application when the Add Context Menu Items dialog is open.

7. Select the check boxes for the context menu items you want to include in your solution and then close the dialog box to save your selections.

8. The selected context menu items now appear in the Object Explorer and the associated properties can be used in your project.

9. Stop interrogation.

10. Click the menu options you want. Menu controls for each selected are added to the Object Explorer and appear as matched while the application is open and interrogator active.

11. The Menu Item Path match rule is used to match the Menu controls. The rule identifies the full path for selecting the item. For example, using the Help - About Calculator Menu Item, the Path displays in the Selected Match Rule Property Grid as: Help/About Calculator.

Note: As with all matched controls, context menu items will show as matched in the OpenSpan Object Explorer window. However, the associated match rules will not show as matched (i.e., leading green check mark) on the Matched Rules tab because the target context menu must be active when the match rules are refreshed, which is not possible. That is, an active context menu in the target application will not remain open when you change focus to the Interrogation tab to refresh match rules, as the focus change closes the context menu.

To add menu items from the Windows tab:

1. Click the Windows tab in the Designer window so that it is on top and visible.

2. Interrogate an application.

3. Right-click the form containing the Menu you want to add and then select Add Menu Items.

4. Continue by using the steps listed above for the Object Explorer.

  Return to OpenSpan Table of Contentsexternal link

  • Actions Show Menu▼


expanded Attachments (1)
collapsed Attachments (1)
Edit the article to add or modify attachments.
File TypeSizeFile NameCreated OnDelete file
image/jpeg 17 KB Add Menu Items - Windows Tab Context Menu Command_1.jpg 12/2/09, 7:14 PM
expanded Versions (11)
collapsed Versions (11)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (11)Jan 28, 2010, 5:14:24 PM~Andy Elhipitexikle  
10Jan 28, 2010, 5:13:21 PM~Andy Elhipitexikle  
9Dec 2, 2009, 7:50:25 PM~Andy Elhipitexikle  
8Dec 2, 2009, 7:44:32 PM~Andy Elhipitexikle  
7Dec 2, 2009, 7:32:16 PM~Andy Elhipitexikle  
6Dec 2, 2009, 7:37:45 PM~Andy Elhipitexikle  
5Dec 2, 2009, 7:37:16 PM~Andy Elhipitexikle  
4Dec 2, 2009, 7:36:20 PM~Andy Elhipitexikle  
3Dec 2, 2009, 7:31:16 PM~Andy Elhipitexikle  
2Dec 2, 2009, 7:17:26 PM~Andy Elhipitexikle  
1Nov 13, 2009, 7:46:39 PM~Andy Elhipitexikle  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software Support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL Software
  • Privacy
  • Accessibility